[INFO] cloning repository https://github.com/nhyne/rs-list
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nhyne/rs-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 624c2d4fd877b3ec3aa767e68b2e8ab41b7d19d0
[INFO] checking nhyne/rs-list against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnhyne%2Frs-list" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nhyne/rs-list
[INFO] finished tweaking git repo https://github.com/nhyne/rs-list
[INFO] tweaked toml for git repo https://github.com/nhyne/rs-list written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nhyne/rs-list on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nhyne/rs-list already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abb41b138d34e3fe2bad1f25cd6817c452d4011261d7a2bcb301485d2212e69b
[INFO] running `Command { std: "docker" "start" "-a" "abb41b138d34e3fe2bad1f25cd6817c452d4011261d7a2bcb301485d2212e69b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abb41b138d34e3fe2bad1f25cd6817c452d4011261d7a2bcb301485d2212e69b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abb41b138d34e3fe2bad1f25cd6817c452d4011261d7a2bcb301485d2212e69b", kill_on_drop: false }`
[INFO] [stdout] abb41b138d34e3fe2bad1f25cd6817c452d4011261d7a2bcb301485d2212e69b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c60103676ca7c0e2eda0634df3ae86c188b3c2e5d9d06b97fec35379fa9a6be
[INFO] running `Command { std: "docker" "start" "-a" "4c60103676ca7c0e2eda0634df3ae86c188b3c2e5d9d06b97fec35379fa9a6be", kill_on_drop: false }`
[INFO] [stderr]     Checking lists v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/fourth.rs:73:63
[INFO] [stdout]    |
[INFO] [stdout] 73 |             .map(|node| RefMut::map(node.borrow_mut(), |node| &node.elem))
[INFO] [stdout]    |                                                               ^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut _`
[INFO] [stdout]                       found reference `&T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/fourth.rs:73:63
[INFO] [stdout]    |
[INFO] [stdout] 73 |             .map(|node| RefMut::map(node.borrow_mut(), |node| &node.elem))
[INFO] [stdout]    |                                                               ^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut _`
[INFO] [stdout]                       found reference `&T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_back` found for struct `fourth::List` in the current scope
[INFO] [stdout]   --> src/fourth.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct List<T> {
[INFO] [stdout]    | ------------------ method `pop_back` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |         self.0.pop_back()
[INFO] [stdout]    |                ^^^^^^^^ method not found in `fourth::List<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop_back` found for struct `fourth::List` in the current scope
[INFO] [stdout]   --> src/fourth.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct List<T> {
[INFO] [stdout]    | ------------------ method `pop_back` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |         self.0.pop_back()
[INFO] [stdout]    |                ^^^^^^^^ method not found in `fourth::List<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boxed_node`
[INFO] [stdout]   --> src/second.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |         while let Some(mut boxed_node) = cur_link {
[INFO] [stdout]    |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boxed_node`
[INFO] [stdout]   --> src/second.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |         while let Some(mut boxed_node) = cur_link {
[INFO] [stdout]    |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/second.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |         while let Some(mut boxed_node) = cur_link {
[INFO] [stdout]    |                        ----^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/second.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |         while let Some(mut boxed_node) = cur_link {
[INFO] [stdout]    |                        ----^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `node_ref` does not live long enough
[INFO] [stdout]    --> src/fourth.rs:109:22
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]     |             --------- lifetime `'1` appears in the type of `self`
[INFO] [stdout] 108 |         self.0.take().map(|node_ref| {
[INFO] [stdout]     |                            -------- binding `node_ref` declared here
[INFO] [stdout] 109 |             self.0 = node_ref.next.as_ref().map(|head| head.borrow());
[INFO] [stdout]     |                      ^^^^^^^^                          ------------- returning this value requires that `node_ref` is borrowed for `'1`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      borrowed value does not live long enough
[INFO] [stdout] 110 |             Ref::map(node_ref, |node| &node.elem)
[INFO] [stdout] 111 |         })
[INFO] [stdout]     |         - `node_ref` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `node_ref` does not live long enough
[INFO] [stdout]    --> src/fourth.rs:109:22
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]     |             --------- lifetime `'1` appears in the type of `self`
[INFO] [stdout] 108 |         self.0.take().map(|node_ref| {
[INFO] [stdout]     |                            -------- binding `node_ref` declared here
[INFO] [stdout] 109 |             self.0 = node_ref.next.as_ref().map(|head| head.borrow());
[INFO] [stdout]     |                      ^^^^^^^^                          ------------- returning this value requires that `node_ref` is borrowed for `'1`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      borrowed value does not live long enough
[INFO] [stdout] 110 |             Ref::map(node_ref, |node| &node.elem)
[INFO] [stdout] 111 |         })
[INFO] [stdout]     |         - `node_ref` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `node_ref` because it is borrowed
[INFO] [stdout]    --> src/fourth.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]     |             --------- lifetime `'1` appears in the type of `self`
[INFO] [stdout] 108 |         self.0.take().map(|node_ref| {
[INFO] [stdout]     |                            -------- binding `node_ref` declared here
[INFO] [stdout] 109 |             self.0 = node_ref.next.as_ref().map(|head| head.borrow());
[INFO] [stdout]     |                      --------                          ------------- returning this value requires that `node_ref` is borrowed for `'1`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      borrow of `node_ref` occurs here
[INFO] [stdout] 110 |             Ref::map(node_ref, |node| &node.elem)
[INFO] [stdout]     |                      ^^^^^^^^ move out of `node_ref` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `node_ref` because it is borrowed
[INFO] [stdout]    --> src/fourth.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn next(&mut self) -> Option<Self::Item> {
[INFO] [stdout]     |             --------- lifetime `'1` appears in the type of `self`
[INFO] [stdout] 108 |         self.0.take().map(|node_ref| {
[INFO] [stdout]     |                            -------- binding `node_ref` declared here
[INFO] [stdout] 109 |             self.0 = node_ref.next.as_ref().map(|head| head.borrow());
[INFO] [stdout]     |                      --------                          ------------- returning this value requires that `node_ref` is borrowed for `'1`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      borrow of `node_ref` occurs here
[INFO] [stdout] 110 |             Ref::map(node_ref, |node| &node.elem)
[INFO] [stdout]     |                      ^^^^^^^^ move out of `node_ref` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0597, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0597, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lists` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lists` (lib test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4c60103676ca7c0e2eda0634df3ae86c188b3c2e5d9d06b97fec35379fa9a6be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c60103676ca7c0e2eda0634df3ae86c188b3c2e5d9d06b97fec35379fa9a6be", kill_on_drop: false }`
[INFO] [stdout] 4c60103676ca7c0e2eda0634df3ae86c188b3c2e5d9d06b97fec35379fa9a6be
